package me.joshua.demo4j.spring.groovy.performance.service;

public interface RefreshScriptService {

	public static int count = 0;

	/**
	 * 最简单的方法，无入参，无返回，无操作，纯粹比较Groovy Bean额外的调用开销
	 */
	void queryMember();

	/**
	 * 
	 * @author <a href="mailto:daonan.zhan@gmail.com">Joshua Zhan</a>
	 */
	public static class RefreshCountor {
		public static int count = 0;

		public static int getCount() {
			return count;
		}

		public static void incrCount() {
			count++;
		}

		public static void resetCount() {
			count = 0;
		}
	}
}
